-- GENERATED SPELL FOR [Dane Winslow] --


function spell0_6373(pUnit, Event) --@Summon Imp,Self--
pUnit:FullCastSpellOnTarget(11939,pUnit)
pUnit:RegisterEvent('Sorts_6373', 605, 1)
end

function Sorts_6373(pUnit, Event)
local choix_sorts_6373 = math.random(0, 0)
if choix_sorts_6373 == 0 then
pUnit:RegisterEvent('spell0_6373', 1, 1)
end
end

function mob6373_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6373', math.random(1500, 3000), 1)
end

function mob6373_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6373_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6373_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6373, 1, 'mob6373_Action')
RegisterUnitEvent(6373, 2, 'mob6373_Leave')
RegisterUnitEvent(6373, 3, 'mob6373_Kill')
RegisterUnitEvent(6373, 4, 'mob6373_Die')
